home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1991 …esperately Seeking Seven / Desperately Seeking Seven.2mg / Dev.CD.8 / Essentials / Tools / File.Type.Notes / FTN.B5.XXXX < prev    next >
Encoding:
Text File  |  1989-08-03  |  2.6 KB  |  54 lines  |  [04] ASCII Text (0x0000)

  1. Apple II
  2. File Type Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. File Type:         $B5 (181)
  8. Auxiliary Type:    All
  9.  
  10. Full Name:     ProDOS 16 or GS/OS Shell application file
  11. Short Name:    GS/OS Shell application
  12.  
  13. Written by:    Dave Lyons & Matt Deatherage                    September 1989
  14.  
  15. Files of this type and auxiliary type contain application programs intended 
  16. for use within a shell environment for the Apple IIGS.
  17. _____________________________________________________________________________
  18.  
  19. Files of type $B5 contains GS/OS shell application programs.  These files 
  20. contain program code in Object Module Format (OMF) that is loaded by the 
  21. System Loader or ExpressLoad at an address and is then executed under the 
  22. control of a command shell (such as APW, for example).
  23.  
  24. The shell may provide extra services to a shell application that are not 
  25. available to normal GS/OS applications (files of type $B3).  A shell 
  26. application can identify which shell it is running under by examining the 
  27. shell identifier.
  28.  
  29. Information about the shell identifier and other shell application environment 
  30. issues may be found in GS/OS Reference and APW Reference, where the shell 
  31. application environment is completely documented.  OMF is documented those 
  32. manuals as well.  All developers creating files of type $B5 should be familiar 
  33. with this material.
  34.  
  35. The auxiliary type for $B5 files is now defined to indicate properties of the 
  36. program contained within the file.  Other parts of the system may use this 
  37. information to properly control the environment for the program:
  38.  
  39.             bits 31-16       reserved--must be 0
  40.             bits 15-8        signature byte.  $DB means bits 7-0 are valid
  41.             bits 7-3         reserved--must be 0
  42.             bit 2            Message Aware:
  43.                              1 = uses Message Center message #1 
  44.                              0 = ignores Message Center message #1
  45.             bit 1            Desktop Application:
  46.                              1 = uses desktop tools such as (at least) 
  47.                                  QuickDraw II, Event Manager, Window 
  48.                                  Manager, Control Manager, and Menu Manager
  49.                              0 = doesn't use desktop tools
  50.             bit 0            GS/OS Aware:
  51.                              1 = uses long prefixes (for example, prefix 9 
  52.                                  instead of prefix 1)
  53.                              0 = uses short prefixes (less than 63 
  54.                                  characters)